from rest_framework.serializers import ModelSerializer
from erp_system.models import PermissionsModel


class PermissionsSerializer(ModelSerializer):
    """
        权限的序列化类
    """


    class Meta:

        model = PermissionsModel
        fields = '__all__'
